package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Address;

import java.awt.image.RescaleOp;
import java.util.List;

public interface AddressService {
    List<Address> addressList();

    void save(Address address);

    void setDefault(Long id);

    ResultInfo findDefault();

    Address findAddressById(Long id);

    void updateAddress(Address address);

    void deletedAddress(Long ids);
}
